package com.jumi.microservice.constant.reissue;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author scw
 * @date 2020/10/7
 */
public enum ReissueUserRoleEnum implements AbstractEnum {
    //用户级别：1、团购用户 2、店长 3、优秀店长 4、金牌推广商
    USER_ROLE_PROMOTION(1, "团购用户"),
    USER_ROLE_PLATINUM(2, "店长"),
    USER_ROLE_DIAMONDS(3, "优秀店长"),
    USER_ROLE_KING(4, "金牌推广商");

    private Integer code;
    private String desc;

    ReissueUserRoleEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
